<!DOCTYPE html>
<html>

<head>
	<meta charset="UTF-8">
	<title>Bootstrap 实例</title>

	<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M"
	 crossorigin="anonymous">
</head>

<body>
	<section class="container">
		<div class="card my-4">
			<div class="card-header">
				<h5 class="text-primary">基础表格</h5>
			</div>
			<div class="card-body">
				<table class="table">
					<thead>
						<tr>
							<th>Firstname</th>
							<th>Lastname</th>
							<th>Email</th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td>John</td>
							<td>Doe</td>
							<td>john@example.com</td>
						</tr>
						<tr>
							<td>Mary</td>
							<td>Moe</td>
							<td>mary@example.com</td>
						</tr>
						<tr>
							<td>July</td>
							<td>Dooley</td>
							<td>july@example.com</td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>
		<div class="card my-4">
			<div class="card-header">
				<h5 class="text-primary" id="AF">条纹表格</h5>
			</div>
			<div class="card-body">
				<table class="table table-striped">
					<thead>
						<tr>
							<th>Firstname</th>
							<th>Lastname</th>
							<th>Email</th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td>John</td>
							<td>Doe</td>
							<td>john@example.com</td>
						</tr>
						<tr>
							<td>Mary</td>
							<td>Moe</td>
							<td>mary@example.com</td>
						</tr>
						<tr>
							<td>July</td>
							<td>Dooley</td>
							<td>july@example.com</td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>
		<div class="card my-4">
			<div class="card-header">
				<h5 class="text-primary">带边框表格</h5>
			</div>
			<div class="card-body">
				<table class="table table-bordered">
					<thead>
						<tr>
							<th>Firstname</th>
							<th>Lastname</th>
							<th>Email</th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td>John</td>
							<td>Doe</td>
							<td>john@example.com</td>
						</tr>
						<tr>
							<td>Mary</td>
							<td>Moe</td>
							<td>mary@example.com</td>
						</tr>
						<tr>
							<td>July</td>
							<td>Dooley</td>
							<td>july@example.com</td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>
		<div class="card my-4">
			<div class="card-header">
				<h5 class="text-primary">鼠标悬停状态表格</h5>
			</div>
			<div class="card-body">
				<table class="table table-hover">
					<thead>
						<tr>
							<th>Firstname</th>
							<th>Lastname</th>
							<th>Email</th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td>John</td>
							<td>Doe</td>
							<td>john@example.com</td>
						</tr>
						<tr>
							<td>Mary</td>
							<td>Moe</td>
							<td>mary@example.com</td>
						</tr>
						<tr>
							<td>July</td>
							<td>Dooley</td>
							<td>july@example.com</td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>
		<div class="card my-4">
			<div class="card-header">
				<h5 class="text-primary">黑色条纹表格</h5>
			</div>
			<div class="card-body">
				<table class="table table-dark table-striped">
					<thead>
						<tr>
							<th>Firstname</th>
							<th>Lastname</th>
							<th>Email</th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td>John</td>
							<td>Doe</td>
							<td>john@example.com</td>
						</tr>
						<tr>
							<td>Mary</td>
							<td>Moe</td>
							<td>mary@example.com</td>
						</tr>
						<tr>
							<td>July</td>
							<td>Dooley</td>
							<td>july@example.com</td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>
		<div class="card my-4">
			<div class="card-header">
				<h5 class="text-primary">鼠标悬停效果 - 黑色背景表格</h5>
			</div>
			<div class="card-body">
				<table class="table table-dark table-hover">
					<thead>
						<tr>
							<th>Firstname</th>
							<th>Lastname</th>
							<th>Email</th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td>John</td>
							<td>Doe</td>
							<td>john@example.com</td>
						</tr>
						<tr>
							<td>Mary</td>
							<td>Moe</td>
							<td>mary@example.com</td>
						</tr>
						<tr>
							<td>July</td>
							<td>Dooley</td>
							<td>july@example.com</td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>
		<div class="card my-4">
			<div class="card-header">
				<h5 class="text-primary">指定意义的颜色类</h5>
			</div>
			<div class="card-body">
				<table class="table">
					<thead>
						<tr>
							<th>Firstname</th>
							<th>Lastname</th>
							<th>Email</th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td>Default</td>
							<td>Defaultson</td>
							<td>def@somemail.com</td>
						</tr>
						<tr class="table-primary">
							<td>Primary</td>
							<td>Joe</td>
							<td>joe@example.com</td>
						</tr>
						<tr class="table-success">
							<td>Success</td>
							<td>Doe</td>
							<td>john@example.com</td>
						</tr>
						<tr class="table-danger">
							<td>Danger</td>
							<td>Moe</td>
							<td>mary@example.com</td>
						</tr>
						<tr class="table-info">
							<td>Info</td>
							<td>Dooley</td>
							<td>july@example.com</td>
						</tr>
						<tr class="table-warning">
							<td>Warning</td>
							<td>Refs</td>
							<td>bo@example.com</td>
						</tr>
						<tr class="table-active">
							<td>Active</td>
							<td>Activeson</td>
							<td>act@example.com</td>
						</tr>
						<tr class="table-secondary">
							<td>Secondary</td>
							<td>Secondson</td>
							<td>sec@example.com</td>
						</tr>
						<tr class="table-light">
							<td>Light</td>
							<td>Angie</td>
							<td>angie@example.com</td>
						</tr>
						<tr class="table-dark text-dark">
							<td>Dark</td>
							<td>Bo</td>
							<td>bo@example.com</td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>
		<div class="card my-4">
			<div class="card-header">
				<h5 class="text-primary">响应式表格</h5>
			</div>
			<div class="card-body">
				<p>用于创建响应式表格：在屏幕宽度小于 992px 时会创建水平滚动条，如果可视区域宽度大于 992px 则显示不同效果（没有滚动条）:</p>
				<table class="table">
					<thead>
						<tr>
							<th>#</th>
							<th>Firstname</th>
							<th>Lastname</th>
							<th>Age</th>
							<th>City</th>
							<th>Country</th>
							<th>Sex</th>
							<th>Example</th>
							<th>Example</th>
							<th>Example</th>
							<th>Example</th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td>1</td>
							<td>Anna</td>
							<td>Pitt</td>
							<td>35</td>
							<td>New York</td>
							<td>USA</td>
							<td>Female</td>
							<td>Yes</td>
							<td>Yes</td>
							<td>Yes</td>
							<td>Yes</td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>
	</section>

</body>

</html>